package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoods;
import com.ecoolex.ying.space.entity.EstateProjectActivityGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface EstateProjectActivityGoodsMapper {
    long countByExample(EstateProjectActivityGoodsExample example);

    int deleteByExample(EstateProjectActivityGoodsExample example);

    int deleteByPrimaryKey(Integer activityGoodsId);

    int insert(EstateProjectActivityGoods record);

    int insertSelective(@Param("record") EstateProjectActivityGoods record, @Param("selective") EstateProjectActivityGoods.Column ... selective);

    EstateProjectActivityGoods selectOneByExample(EstateProjectActivityGoodsExample example);

    EstateProjectActivityGoods selectOneByExampleWithBLOBs(EstateProjectActivityGoodsExample example);

    List<EstateProjectActivityGoods> selectByExampleWithBLOBs(EstateProjectActivityGoodsExample example);

    List<EstateProjectActivityGoods> selectByExample(EstateProjectActivityGoodsExample example);

    EstateProjectActivityGoods selectByPrimaryKey(Integer activityGoodsId);

    EstateProjectActivityGoods selectByPrimaryKeyWithLogicalDelete(@Param("activityGoodsId") Integer activityGoodsId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") EstateProjectActivityGoods record, @Param("example") EstateProjectActivityGoodsExample example, @Param("selective") EstateProjectActivityGoods.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") EstateProjectActivityGoods record, @Param("example") EstateProjectActivityGoodsExample example);

    int updateByExample(@Param("record") EstateProjectActivityGoods record, @Param("example") EstateProjectActivityGoodsExample example);

    int updateByPrimaryKeySelective(@Param("record") EstateProjectActivityGoods record, @Param("selective") EstateProjectActivityGoods.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(EstateProjectActivityGoods record);

    int updateByPrimaryKey(EstateProjectActivityGoods record);

    int batchInsert(@Param("list") List<EstateProjectActivityGoods> list);

    int batchInsertSelective(@Param("list") List<EstateProjectActivityGoods> list, @Param("selective") EstateProjectActivityGoods.Column ... selective);

    int logicalDeleteByExample(@Param("example") EstateProjectActivityGoodsExample example);

    int logicalDeleteByPrimaryKey(Integer activityGoodsId);
}